package com.lxd.sunso.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lxd.sunso.common.utils.PageUtils;
import com.lxd.sunso.product.entity.DatatemplateEntity;

import java.util.List;
import java.util.Map;

/**
 * @author lxd
 * @email sunlightcs@gmail.com
 * @date 2020-12-30 18:06:30
 */
public interface DatatemplateService extends IService<DatatemplateEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<DatatemplateEntity> search(Long templateId);

    DatatemplateEntity findById(Long id);

    void newupdate(DatatemplateEntity datatemplate);

    boolean savedatatemplate(DatatemplateEntity datatemplate);

    boolean removedatatemplate(List<Long> asList);

    List<String> getControlNames(Long templateId);

    List<String> getHeadByMachineName(String machineName);
}

